//
//  AKPActivityTableViewCell.m
//  Copy_AiKapPu_Personal_OC
//
//  Created by taojianz on 2017/7/11.
//  Copyright © 2017年 taojianz. All rights reserved.
//

#import "AKPActivityTableViewCell.h"

@implementation AKPActivityTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setCellContentWithDict:(NSDictionary *)dict{
    [self setCellContent:dict[@"bgImageStr"] status:dict[@"status"] location:dict[@"location"] time:dict[@"time"] synopsis:dict[@"synopsis"] price:dict[@"price"]];
}

- (void)setCellContent:(NSString *)bgImageStr status:(NSString *)statusImageStr location:(NSString *)locationStr time:(NSString *)timeStr synopsis:(NSString *)synopsis price:(NSString *)price{

    self.backgroundImageView.image = [UIImage imageNamed:bgImageStr];
    self.locationLabel.text = locationStr;
    self.timeLabel.text = timeStr;
    self.statusImageView.image = [UIImage imageNamed:statusImageStr];
    self.synopsisLabel.text = synopsis;
    self.priceLabel.text = price;
    self.priceLabel.textColor = [UIColor orangeColor];
    
}
@end
